package cn.edu.ahu.aircondition.storage.realtime.repository;

import cn.edu.ahu.aircondition.storage.realtime.domain.ProcessInfoEntity;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

@Repository
public interface ProcessInfoRepo extends JpaRepository<ProcessInfoEntity,Integer> {
    ProcessInfoEntity findFirstByCmdlineAndHost(String cmdline,String host);
    ProcessInfoEntity findFirstById(Integer id);
}
